package com.rub.android.service.api

import com.rub.android.dto.JsonResult
import kotlinx.coroutines.Deferred
import retrofit2.Call
import retrofit2.http.Field
import retrofit2.http.FormUrlEncoded
import retrofit2.http.POST

interface IUserService {

    @POST("/user/login")
    @FormUrlEncoded
    fun login(@Field("username") userName: String, @Field("password") passWord: String): Call<JsonResult>

}